<template>
  <div id="userLayout">

    <a-layout style="min-height: 100vh;">
      <a-layout-header class="header">
        <a-space>
          <img src="../assets/ojlogo.jpg" class="logo" />
          <div>wsy OJ</div>
        </a-space>

      </a-layout-header>

      <a-layout-content class="content">
        <router-view/>
      </a-layout-content>

      <a-layout-footer class="footer">
        <a href="http://www.baidu.com" target="_blank">
          版权信息
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#userLayout {
  text-align: center;
}

#userLayout .logo{
  width: 60px;
  height: 60px;
}

#userLayout .header {
  /*background: red;*/
  margin-top: 16px;
  margin-bottom: 16px;
  /*box-shadow: #eee 1px 1px 5px;*/
}

#userLayout .content {
  background: url("E:\OJJudge\wsyoj-frontend\src\assets\background.jpg");
  margin-bottom: 16px;
  padding: 20px;
}

#userLayout .footer {
  padding: 16px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}

</style>
<script>
</script>